package com.lms.logistics_management_system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;

/**
 * @TableName announcement
 */
@TableName(value ="announcement")
@Data
public class Announcement implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private String title;

    @TableField(value = "time")
    private LocalDateTime time;

    private String content;

    private static final long serialVersionUID = 1L;
}